-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(docs): restore original image paths but change baseurl _config.yml configuration #22
Open
maarten1C96
wants to merge
16
commits into
maksimdrachov:main
Choose a base branch
from
maarten1C96:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Replaced `<zephyr/zephyr.h>` with `<zephyr/kernel.h>` based on the following compilation warning raised: #warning "<zephyr/zephyr.h> is deprecated, include <zephyr/kernel.h> instead" [-Wcpp] Note: This change has been applied to the basic-sample only. Most likely other samples in the project might require the same update.
…sic-sample in macOS setup guide Convenient for when already having Git cloned everything some other moment, and you just want to build and flash the basic sample from the correct directory.
…tructure.md To ensure the image displays correctly in the web version of the tutorial, I added two parent directory references to the path '/images/2-introduction/sample-folder.png'.
…structure.md To ensure all images on the zephyr-structure.md display correct in the web version of the tutorial, I added two parent directory references to the following paths as well: ![k-config](../../images/2-introduction/k-config.png) ![guiconfig](../../images/2-introduction/guiconfig.png) ![basic-sample](../../images/2-introduction/basic-sample.png)
All image paths that include `images/` and `svg-images/` should now be referenced correctly. These path edits are based on testing them within my webbrowser, but couldn't test on my own fork directly (still need to figure out how to make GitHub Pages work myself).
…tibility This commit attempts all images being properly displayed when accessed in both the GitHub web interface, as in GitHub Pages (Jekyll). So far images were only linked successfully when accessed via the GitHub web interface, but not in GitHub Pages. Important to mention thought: this change is a preliminary first test. - Added `baseurl: "/zephyr-rtos-tutorial"` to `_config.yml` to set a base path configuration for Jekyll. - Updated all image paths in the documentation to use `{{ site.baseurl }}` instead of `../../` parent references.
…guration - Restored image paths in documentation back to original links (`/images`), reversing the application of `{{ site.baseurl }}`. Although Jekyll should be able to process `{{ site.baseurl }}` into working images in GitHub Pages, the GitHub web interface apparently is not able to handle this. - Path evolution for clarity: - Original: /images - Attempt 1: /../../images - Attempt 2: {{ site.baseurl }}/images - This commit: /images - Purposefully kept `baseurl: "/zephyr-rtos-tutorial"` unchanged in `_config.yml`. Maybe having this line in the configuration file will already be able to solve the incorrect image paths in Jekyll. Fingers crossed...
maarten1C96
changed the title
chore(docs): standardise image paths for both GitHub and Jekyll compatibility
chore(docs): restore original images paths but keep _config.yml configuration
Apr 7, 2024
maarten1C96
changed the title
chore(docs): restore original images paths but keep _config.yml configuration
chore(docs): restore original image paths but keep _config.yml configuration
Apr 7, 2024
…uration - Restored image paths in documentation back to original links (`/images`), reversing the application of `{{ site.baseurl }}`. Although Jekyll should be able to process `{{ site.baseurl }}` into working images in GitHub Pages, the GitHub web interface apparently is not able to handle this. - Path evolution for clarity: - Original: /images - Attempt 1: /../../images - Attempt 2: {{ site.baseurl }}/images - This commit: /images - Purposefully kept `baseurl: "/zephyr-rtos-tutorial"` unchanged in `_config.yml`. Maybe having this line in the configuration file will already be able to solve the incorrect image paths in Jekyll. Fingers crossed...
maarten1C96
changed the title
chore(docs): restore original image paths but keep _config.yml configuration
chore(docs): restore original image paths but change _config.yml configuration
Apr 7, 2024
maarten1C96
changed the title
chore(docs): restore original image paths but change _config.yml configuration
chore(docs): restore original image paths but change baseurl _config.yml configuration
Apr 7, 2024
…solution to solve Jekyll error Because of the following error raised: "/usr/local/bundle/gems/jekyll-3.9.5/lib/jekyll/tags/include.rb:121:in `locate_include_file': Could not locate the included file 'incomplete.md' in any of ["/github/workspace/docs/_includes", "/usr/local/bundle/gems/jekyll-theme-primer-0.6.0/_includes"]. Ensure it exists in one of those directories and is not a symlink as those are not allowed in safe mode. (IOError)"
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
/images
), reversing the application of{{ site.baseurl }}
. Although Jekyll should be able to process{{ site.baseurl }}
into working images in GitHub Pages, the GitHub web interface apparently is not able to handle this.baseurl: "/zephyr-rtos-tutorial"
in_config.yml
. Maybe having this line in the configuration file will already be able to solve the incorrect image paths in Jekyll. Fingers crossed...